﻿<%@ Page Title="商品" Language="C#" MasterPageFile="~/ListShow.Master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="BBPA.Admin.Store.Goods.List" %>

<%@ MasterType VirtualPath="/ListShow.Master" %>
<%@ Register Src="~/Controls/DDL_Brand.ascx" TagPrefix="uc1" TagName="DDL_Brand" %>
<%@ Register Src="~/Controls/DDL_Category_col.ascx" TagPrefix="uc2" TagName="DDL_Category_col" %>
<%@ Register Src="~/Controls/DDL_Supplier.ascx" TagPrefix="uc1" TagName="DDL_Supplier" %>

<asp:Content ID="Content4" ContentPlaceHolderID="head" runat="server">
    <script>
        liHeight = 270;
        bodyWidth = 605;
    </script>
</asp:Content>


<asp:Content ID="Content3" ContentPlaceHolderID="cph_Top_Search" runat="server">    
    
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="cph_Top_Control" runat="server"> 
    <button class="btn btn-danger" href-right="/sys/goods/Form.aspx" title="添加商品" quanxian="add">添加商品</button>
    <span id="is_top_search" runat="server">
      <input type="text" id="top_search_content" onkeypress="EnterPress(this,1,event)" onkeydown="EnterPress(this,1)"/> 
   <input type="submit" id="Button1" class="btn btn-danger" value="搜索" onclick="toplistshowsearch()"/>    </span>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_li_con" runat="server">
    <div style="margin: 10px;" data-row-title="<%#Eval("Name") %>"  data-row-href-right="/sys/goods/info.aspx?id=<%#Eval("id") %>">
        <div style="height: 110px; text-align: center;">
            <img class="list_pic" src="<%#DataTypePlus.requestString( Eval("PicURL")).Replace("UploadFiles","UploadFiles/_thumbs") %>" onerror="$(this).hide();"/>
        </div>
        <div class="muted"><small><%#Eval("Number") %></small></div>
        <div><%#Eval("BrandName") %> <%#Eval("Code") %></div>
        <div style="height: 40px; overflow: hidden;"  class="text-info"><%#Eval("Name") %></div>
        

        <h4><%#StringPlus.showMoney( Eval("SellPrice")) %>
            <span class="label <%#BBPA.BLL.Goods.HaveDiscountSell_ing(Eval("id"))?"label-info":"hide" %>">折</span>
            <span class="label <%#BBPA.BLL.Goods.HaveGiftNumberSell_ing(Eval("id"))?"label-info":"hide" %>">赠</span>
        </h4>
        <a href-right="../Orders/Form_Goods.aspx?GoodsID=<%#Eval("id") %>" class="btn btn-info" title="加入订单">加入订单</a>
    </div>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cph_search" runat="server">
    <div class="control-group">
        <label>商品名/品牌</label>
        <asp:TextBox ID="search_text_namenumber" runat="server"></asp:TextBox>
    </div>
    <div class="control-group">
        <label>品牌</label>
        <uc1:DDL_Brand runat="server" ID="search_select_brand" NeedLeaderWork="true" />
    </div>
    <div class="control-group">
        <label>供货商</label>
        <uc1:DDL_Supplier runat="server" ID="search_select_supplier" NeedLeaderWork="true" />
    </div>
    <div class="control-group">
        <label>分类</label><uc2:DDL_Category_col runat="server" ID="search_select_category" NeedLeaderWork="true" />
    </div>
    <div class="control-group RadioButtonList">
        <label></label>
        <asp:CheckBox ID="search_check_sellway_1" runat="server" Text="活动商品" />
    </div>
</asp:Content>

